package com.hunt.dao;

import com.hunt.model.entity.UserInfo;
import org.apache.ibatis.annotations.Param;


/**
 * @author sjs
 * @create 2020/10/22
 */

public interface UserInfoMapper {

    public UserInfo findUserInfoByUserId(@Param("userId") String userId);

    public UserInfo findUserInfoByPhone(@Param("phone")String phone);
    public UserInfo findUserInfoByPhoneAndId(@Param("phone")String phone);
    int selectCountByUserId(@Param("userId") String userId);
    int selectCountByPhone(@Param("phone")String phone);
}
